// 评价任务时间分段表

package dbModel

import "time"

type EvaluateSegmentTime struct {
	Id         string    `json:"id" gorm:"primary_key; column:id; type:varchar(255)"`
	TaskId     string    `json:"taskId" gorm:"column:task_id; type:varchar(255)" validate:"required"`
	Time       int       `json:"time"  gorm:"column:time; type:int" validate:"required"`
	CreateTime time.Time `json:"-" gorm:"column:create_time; autoCreateTime"`
	UpdateTime time.Time `json:"-" gorm:"column:update_time; autoUpdateTime"`
}

// 数据表
func (*EvaluateSegmentTime) TableName() string {
	return "evaluate_segment_time"
}
